<template>
  <div>
    <h1>{{message|strSlice}}</h1>
    <input type="text" v-fbind:value="n"/>
  </div>
</template>

<script>
export default {
    name: 'Demob',
    data() {
        return {
            n: 100,
            message: 'Hello World'
        }
    },
    created() {
        this.showInfo()
    },
    mounted() {
        this.f1()
    }
}
</script>

<style>

</style>